<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leader_approach_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leader_approach_id" data-rule="required" data-source="leader/approach/index" class="form-control selectpage" name="row[leader_approach_id]" type="text" value="{$row.leader_approach_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leader_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leader_id" data-rule="required" data-source="leader/index" class="form-control selectpage" name="row[leader_id]" type="text" value="{$row.leader_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leader_nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leader_nickname" class="form-control" name="row[leader_nickname]" type="text" value="{$row.leader_nickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Out_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-out_date" class="form-control" name="row[out_date]" type="text" value="{$row.out_date|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Out_city')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-out_city" class="form-control" data-toggle="city-picker" name="row[out_city]" type="text" value="{$row.out_city|htmlentities}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company" class="form-control" name="row[company]" type="text" value="{$row.company|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_summary')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-project_summary" class="form-control " rows="5" name="row[project_summary]" cols="50">{$row.project_summary|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chargedep_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chargedep_ids" data-rule="required" data-source="chargedep/index" data-multiple="true" class="form-control selectpage" name="row[chargedep_ids]" type="text" value="{$row.chargedep_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chargedep_names')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chargedep_names" class="form-control" name="row[chargedep_names]" type="text" value="{$row.chargedep_names|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_progress')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-project_progress" class="form-control " rows="5" name="row[project_progress]" cols="50">{$row.project_progress|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_problem')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-project_problem" class="form-control " rows="5" name="row[project_problem]" cols="50">{$row.project_problem|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_nextplan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-project_nextplan" class="form-control " rows="5" name="row[project_nextplan]" cols="50">{$row.project_nextplan|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
